﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;

namespace skatesLetsPlayTool
{
    public partial class frmMain : Form
    {
        public frmMain()
        {
            InitializeComponent();
        }

        private void frmMain_Load(object sender, EventArgs e)
        {
            
        }

        
        /*

        globalKeyboardHook hook = new globalKeyboardHook();

        private void frmMain_Load(object sender, EventArgs e)
        {
            hook.HookedKeys.Add(Keys.Add);
            hook.KeyDown += hook_KeyDown;
        }

        void hook_KeyDown(object sender, KeyEventArgs e)
        {
            this.Text += "ü";
            //e.Handled = true;
        }
        */
        private void cmdEinstellungen_Click(object sender, EventArgs e)
        {

            Form settings = new frmSettings();
            settings.ShowDialog();

        }
        
        /*

        private void button1_Click(object sender, EventArgs e)
        {
            this.button1.Text = "Bitte den Aufnahme-Button drücken";
            this.button1.ForeColor = Color.Red;

            this.button1.KeyDown += button1_KeyDown;
        }

        void button1_KeyDown(object sender, KeyEventArgs e)
        {
            this.button1.Text = e.KeyCode.ToString();
            this.button1.ForeColor = Color.Black;
        }
         * 
         * */
    }
}
